-- GENERATED SPELL FOR [Niby the Almighty] --


function spell0_14469(pUnit, Event) --@Call Infernal Destroyer,n/a--
pUnit:FullCastSpellOnTarget(23056,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14469', 534, 1)
end

function Sorts_14469(pUnit, Event)
local choix_sorts_14469 = math.random(0, 0)
if choix_sorts_14469 == 0 then
pUnit:RegisterEvent('spell0_14469', 1, 1)
end
end

function mob14469_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14469', math.random(1500, 3000), 1)
end

function mob14469_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14469_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14469_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14469, 1, 'mob14469_Action')
RegisterUnitEvent(14469, 2, 'mob14469_Leave')
RegisterUnitEvent(14469, 3, 'mob14469_Kill')
RegisterUnitEvent(14469, 4, 'mob14469_Die')
